<!-- Content -->
<div id="content">
    <!-- Content wrapper -->
    <div class="wrapper">
        <!-- Page header -->
        <div class="page-header">
            <div class="page-title">
                <h5><?= $place ?></h5>
            </div>
        </div>
        <!-- /page header -->
        <!-- /default wizard -->
        <div class="media row-fluid">
            <div class="span12">
                <div class="widget">
                    <div class="navbar">
                        <div class="navbar-inner">
                            <h6>Documentos</h6>                            
                        </div>
                    </div>
                    <div class="well">
                        <div class="table-overflow">
                            <table class="table table-striped table-bordered" id="data-table">
                                <thead>
                                    <tr>
                                        <th>Titulo</th>
                                        <th>Descripcion</th>
                                        <th>Empresa</th>
                                        <th>Módulo</th>
                                        <th>Sub-Módulo</th>
                                        <th>Orden</th>
                                        <th>Acción</th>
                                    </tr>
                                </thead>
                                <tbody>
                                <?php
                                foreach($lista_docs as $doc){
                                ?>
                                    <tr>
                                        <td><?= $doc->m_titulo ?></td>
                                        <td><?= $doc->m_descripcion ?></td>
                                        <td><?= $doc->e_nombre ?></td>
                                        <td><?= $doc->m_nombre ?></td>
                                        <td><?= $doc->sm_nombre ?></td>
                                        <td><?= $doc->m_orden ?></td>   
                                        <td><a href="<?= base_url("documentos/borrar/$doc->m_nombre_en_disco")?>" class="btn btn-danger tip" title="Eliminar <?= $doc->m_titulo ?>" onclick="return confirm('¿Estas seguro?')"><i class="icon-trash"></i></a></td>
                                    </tr>
                                <?php
                                }
                                ?>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- /content wrapper -->
</div>
<!-- /content -->
